package game.objects.staticObjects;

import engine.game.Manager;
import engine.graphics.Vertex2f;
import engine.objects.TexturedObject;

public class Background_SunnySky extends Background_Sky{

	private static final long serialVersionUID = 1L;
		
	public Background_SunnySky(Manager m) {
		super(m);
		this.changeLocation(0, 208);
		this.changeSize(this.getObjectWidth(), this.getManager().getLevel().HEIGHT-208);
		init(); 
	}

	public void init(){
		super.init(); 
		this.texture(2048, 512, 0, 0);
	}

	
	protected void texture(int w, int h, int l, int t){
		TexturedObject.addNewAnimationToObject(this, "background_sky", "backgrounds", 
		new Vertex2f[]{new Vertex2f(2048, 256)}, 
		new Vertex2f[]{new Vertex2f(0, 0)}, 0);
	}

}
